/*
 * engineering_training_competition.h
 *
 *  Created on: Mar 27, 2024
 *      Author: boen
 */

#ifndef SCENARIOS_INC_ENGINEERING_TRAINING_COMPETITION_H_
#define SCENARIOS_INC_ENGINEERING_TRAINING_COMPETITION_H_

#include <nvic.h>

#define ETC_STEP_01					0
#define ETC_STEP_02					1
#define ETC_STEP_03					2
#define ETC_STEP_04					3
#define ETC_STEP_05					4
#define ETC_STEP_06					5
#define ETC_STEP_07					6
#define ETC_STEP_08					7
#define ETC_STEP_09					8
#define ETC_STEP_10					9

#define ETC_STEP_SUB_01				0
#define ETC_STEP_SUB_02				1
#define ETC_STEP_SUB_03				2
#define ETC_STEP_SUB_04				3
#define ETC_STEP_SUB_05				4
#define ETC_STEP_SUB_06				5
#define ETC_STEP_SUB_07				6
#define ETC_STEP_SUB_08				7
#define ETC_STEP_SUB_09				8
#define ETC_STEP_SUB_10				9
#define ETC_STEP_SUB_11				10
#define ETC_STEP_SUB_12				11
#define ETC_STEP_SUB_13				12
#define ETC_STEP_SUB_14				13
#define ETC_STEP_SUB_15				14

#define ETC_STEP_SUB2_01			0
#define ETC_STEP_SUB2_02			1
#define ETC_STEP_SUB2_03			2
#define ETC_STEP_SUB2_04			3
#define ETC_STEP_SUB2_05			4
#define ETC_STEP_SUB2_06			5
#define ETC_STEP_SUB2_07			6
#define ETC_STEP_SUB2_08			7
#define ETC_STEP_SUB2_09			8
#define ETC_STEP_SUB2_10			9

#define ETC_TASK_DELAY				1000

void etc_timer(void);

void etc_init(void);
void etc_deinit(void);
void etc_polling(void);

#endif /* SCENARIOS_INC_ENGINEERING_TRAINING_COMPETITION_H_ */
